home *** CD-ROM | disk | FTP | other *** search
/ Power Utilities / Power Utilities.iso / utility / pro201 / lq.doc < prev    next >
Encoding:
Text File  |  1992-10-15  |  90.6 KB  |  2,047 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.                                    LQ (tm)
  18.  
  19.                                by Mark Harris
  20.  
  21.  
  22.                     Granny's Old-Fashioned Software (tm)
  23.                                Rt 4, Box 216
  24.                               Boone, NC 28607
  25.                                (704) 264-6906
  26.  
  27.                                  July, 1986
  28.                                 Version 2.0
  29.  
  30.                        (C) 1985, 1986 by Mark Harris
  31.                             All Rights Reserved
  32.  
  33.           The unmodified LQ distribution diskette, containing a
  34.           copy of this manual, may be freely copied and shared,
  35.           but printed copies of this document may not be copied.
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.                              Table of Contents
  48.  
  49.           1. Introduction                                       1
  50.           2. LQ installation                                    2
  51.           3. Using LQ in the resident mode                      7
  52.           4. Using LQ in the file mode                         11
  53.           5. Control sequences                                 14
  54.           6. The LQ parameter line                             18
  55.           7. Creating or modifying a configuration file        21
  56.           8. Tips for better printouts                         28
  57.           9. Character sets available in LQ                    30
  58.           10. Editing character sets: the EDCHAR program       33
  59.           11. The graphics mode                                38
  60.           Appendix A. About 'Shareware'                        40
  61.           Appendix B. ASCII codes                              41
  62.           Introduction                                          1
  63.  
  64.  
  65.  
  66.                                      LQ
  67.                   Letter quality for dot matrix printers.
  68.  
  69.                        (C) 1985, 1986 by Mark Harris
  70.                             All rights reserved.
  71.  
  72.           1. Introduction.
  73.  
  74.               LQ is a program for the IBM PC and compatible
  75.           computers which will allow you to produce high-quality
  76.           text on inexpensive dot matrix printers.  Most such
  77.           printers are supported, but you may have to install or
  78.           create a configuration file (see Section 5) if yours
  79.           deviates significantly from an Epson.
  80.  
  81.               LQ offers these features:
  82.  
  83.             1. LQ can be 'locked' into memory to function
  84.                inconspicuously with your favorite word processor
  85.                or other program, or it can be used only as needed
  86.                to process disk files.
  87.  
  88.             2. Most control sequences for turning on special
  89.                modes (boldface, underline, superscript, etc.)
  90.                will produce the corresponding results with LQ, so
  91.                you may not have to modify your word processor to
  92.                accommodate LQ.
  93.  
  94.             3. LQ includes a print spooler which can be set to
  95.                any length from 1 - 200K characters.  The spooler
  96.                has been customized to work with LQ's long
  97.                graphics sequences very efficiently (using about
  98.                1/40 the space required by a conventional
  99.                spooler); you can continue using your computer for
  100.                other tasks while documents print in the back-
  101.                ground.  If you use single sheet feed, LQ will
  102.                interrupt your work to prompt you to change paper
  103.                then return to you to the point at which you were
  104.                interrupted.
  105.  
  106.             4. The spooler and several of LQ's options can be
  107.                controlled using a 'pop-up window' which is
  108.                available at any time.  This is particularly
  109.                convenient for toggling letter-quality mode on and
  110.                off and for flushing the buffer to abort a
  111.                printout.
  112.  
  113.           2                                       LQ installation
  114.  
  115.             5. Special modes such as proportional spacing, extra-
  116.                large and graphics printing are available. Using
  117.                the graphics mode you can create letterheads and
  118.                other pictures in the middle of your printouts.
  119.                (In Version 2 of LQ creating these pictures is a
  120.                tedious process; Version 3 is expected to include
  121.                a picture editor to make this easier.)
  122.  
  123.             6. Four fonts are available at any time, and others
  124.                can be swapped into memory when desired.  You can
  125.                switch between these fonts using codes in your
  126.                text or by using the LQ Control Window.
  127.  
  128.             7. You can modify an existing character set or edit
  129.                your own from scratch using the EDCHAR program
  130.                included in the package.
  131.  
  132.               You will probably want to take a look at LQ's
  133.           output before reading about all the details.  Following
  134.           is a procedure to get some quick results if you have an
  135.           Epson-compatible printer; if yours is different, skip
  136.           this test and read on.
  137.  
  138.             1. Boot DOS.
  139.             2. Insert the LQ disk and type LQDEMO.
  140.             3. Turn on your printer and press a key when prompted.
  141.                For best results, leave friction on if you have
  142.                friction feed.
  143.               If you want to experiment a little with LQ now, try
  144.           the following:  type 'LQ' at the DOS prompt to load the
  145.           program into memory, then run any other program (such
  146.           as a word processor) which generates printed output.
  147.           At any time you can bring up the LQ menu by pressing
  148.           both shift keys simultaneously.  If your output is
  149.           garbled, don't panic yet - read on!
  150.  
  151.           Note:  The file READ.ME describes revisions to LQ and
  152.           other important information.  To view this file on the
  153.           screen enter TYPE READ.ME; to obtain a printed copy
  154.           enter COPY READ.ME PRN.
  155.  
  156.           2. LQ installation.
  157.  
  158.               There is a good chance that LQ is already config-
  159.           ured properly for your use; if you have an Epson-
  160.           compatible printer we recommend that you skip this
  161.           section on first reading of the manual and come back to
  162.           it later.
  163.  
  164.               There are two levels of installation which may need
  165.           to be performed in order to use LQ.  You should
  166.           LQ installation                                       3
  167.  
  168.           configure your word processor or other application for
  169.           an Epson MX 80 (or IBM Graphics Printer) if it uses
  170.           control codes to exploit a printer (to print italics,
  171.           emphasized print, etc.), and you should run LQINST if
  172.           you have a printer which is not Epson-compatible (or if
  173.           you want to change the size of the buffer, assign a
  174.           different key combination to bring up the LQ Control
  175.           Window or change the default character sets used by
  176.           LQ).
  177.  
  178.               LQ will make your printer appear to a word
  179.           processor as an Epson MX 80 (or IBM Graphics Printer)
  180.           when printing in the letter-quality mode.  Most word
  181.           processors will let you choose a printer when a
  182.           documented is printed, so you can maintain one printer
  183.           description file for draft mode (based on what your
  184.           printer really is) and another one for LQ mode.  For
  185.           example, PC-Write gives the prompt
  186.  
  187.               Print control file name (Esc:exit Enter:none):
  188.  
  189.           and MultiMate lets you select a PAT (Printer Action
  190.           Table) file when documents are printed.
  191.  
  192.           LQINST.
  193.  
  194.               LQINST alters the LQ.COM program, so it is wise to
  195.           make a copy of the LQ disk before starting the
  196.           installation procedure.  Insert a working copy of the
  197.           disk in your computer's default drive and enter
  198.           'LQINST'.  You will be prompted to enter the disk
  199.           containing the file LQ.COM; since this file is on the
  200.           distribution disk, no disk exchange is necessary.
  201.           Throughout this installation procedure you can ignore
  202.           messages to insert disks if you are working with a copy
  203.           of the distribution disk; later on if you use separate
  204.           disks for different character sets or other LQ data you
  205.           should swap disks as prompted. The screen should now
  206.           show:
  207.           4                                       LQ installation
  208.  
  209.           _______________________________________________________
  210.  
  211.               LQ installation menu:
  212.  
  213.               1. Change default character sets.
  214.  
  215.               2. Change printer parameters.
  216.  
  217.               3. Change keys for LQ window.
  218.  
  219.               4. Change buffer size.
  220.  
  221.               5. Quit.
  222.  
  223.                     Which? (1 - 5)
  224.           _______________________________________________________
  225.  
  226.           Each option will be described below, but if this is
  227.           your first use of LQ you will probably be content to
  228.           use only option 2 (and that only if your printer is not
  229.           Epson-compatible).
  230.  
  231.           Option 1:  Change default character sets.
  232.  
  233.               The LQ.COM program includes four character sets
  234.           within its code; initially these are the sets COURIER,
  235.           COURITAL, HELV and PALATINO.  (See Section 9 for a
  236.           listing of these and other available sets.)  If your
  237.           use of other sets is infrequent it is best to load them
  238.           explicitly using the LQ parameter line (see Section 6)
  239.           but if you would like different sets to be used by
  240.           default then this installation option is in order.
  241.           Installation of a new set is a two-step process: first
  242.           you indicate which set you want to install, then you
  243.           assign it the number (1 - 4) used to turn on the set.
  244.  
  245.               After this option is selected you are shown a list
  246.           of character sets and prompted to enter the number of
  247.           the set to install:
  248.           _______________________________________________________
  249.  
  250.              1  COURIER     7  HELVITAL     13  SANS2ITA
  251.              2  COURIER2    8  MAIN         14  SANSITAL
  252.              3  COURITAL    9  MAINITAL     15  SANSSER
  253.              4  GREEK      10  PALATINO     16  SANSSER2
  254.              5  HELV       11  ROMAN        17  SPIRAL
  255.              6  HELV2      12  ROMANITA
  256.  
  257.                 Enter number of set to install:
  258.                  (press <Enter> to quit)
  259.           _______________________________________________________
  260.           LQ installation                                       5
  261.  
  262.  
  263.           After you enter the number of the set to install you
  264.           are prompted
  265.  
  266.               Enter installed character set number (1-4):
  267.  
  268.           This second number is used in control sequences, in the
  269.           LQ parameter line, or in the LQ Control Window to
  270.           switch to the corresponding set.  Any of the four sets
  271.           can be used at any time, but the first two sets have
  272.           special roles of which you should be aware.  The first
  273.           set is used by default, so it should be the one you use
  274.           most often.  The second set can be turned on by the
  275.           control sequence you normally use to switch to italics,
  276.           so it is best (but by no means required) to make it the
  277.           italicized version of the first set.  For example, you
  278.           could make the first set SANSSER and the second
  279.           SANSITAL.
  280.  
  281.               After you enter the 'installed character set
  282.           number' the cycle is repeated:  you are again prompted
  283.           to choose a set to install.  You can continue until all
  284.           four sets are changed, or you can retain previous sets
  285.           for those you don't change.  When you are finished,
  286.           press <Enter> without typing a number.
  287.  
  288.               The changes you make in this and other LQINST
  289.           options are not made permanent until you exit the
  290.           program, so don't worry about doing anything lethal.
  291.           Even if you do save a revised version of LQ.COM, you
  292.           can always run LQINST again to restore it to the way it
  293.           was.
  294.  
  295.           Option 2:  Change printer parameters.
  296.  
  297.               The second option lets you change the default Epson
  298.           printer parameters to those for another printer.
  299.           Printer parameters are contained in files with the
  300.           suffix 'PAR' which you may edit or create yourself.
  301.           (See Section 7.)  If you are a registered LQ user and
  302.           experience problems installing a non-Epson printer, we
  303.           will create a parameter file for you on request.  See
  304.           Section 7 for a description of the printer requirements
  305.           for using LQ.
  306.  
  307.           Note:  After you have performed this installation
  308.           process, your LQ/printer combination will act like an
  309.           Epson MX or IBM Graphics Printer regardless of what
  310.           kind of printer you actually have.  When using LQ you
  311.           should make certain that your word processor or other
  312.           6                                       LQ installation
  313.  
  314.           application 'thinks' you have one of these models.
  315.           Again, see Section 7.
  316.  
  317.               When you select this option you are prompted to
  318.           insert the LQ disk, then you are shown a list of all
  319.           parameter files on the disk.  Currently these are
  320.  
  321.                1  EPSON
  322.                2  IMAGE
  323.                3  PROPRINT
  324.                4  CITOH
  325.                5  STAR
  326.  
  327.           A given file may work for more than one type of
  328.           printer; for example the Epson parameters are
  329.           appropriate for the IBM Graphics printer.  Enter the
  330.           number of your choice.
  331.  
  332.               Some experimentation may be required to find or
  333.           create the right file.  Rest assured that you won't do
  334.           any harm by installing the wrong parameters; your
  335.           printer may appear to run amuck, but the only cost is
  336.           the paper.
  337.  
  338.           Option 3:  Change keys for LQ window.
  339.  
  340.               There are four shift keys on the PC keyboard:
  341.           Ctrl, Alt, Left Shift, Right Shift.  Many background
  342.           utilities use combinations of these keys to spring into
  343.           action; for example, 'Sidekick' normally requires that
  344.           the Ctrl and Alt keys be depressed simultaneously.  The
  345.           LQ Control Window is normally brought up by pressing
  346.           the left and right shift keys together, but you can
  347.           change this to any pair of shift keys.  Use LQINST to
  348.           make this change permanent or use the K option to
  349.           pass the key combination (temporarily) on the LQ
  350.           parameter line (see Section 6).
  351.  
  352.               When the third option is selected the following
  353.           screen is displayed:
  354.           LQ installation                                       7
  355.  
  356.           _______________________________________________________
  357.  
  358.               Key installation.
  359.  
  360.               The pop-up window used to control LQ operation
  361.               is normally brought up by pressing the right and
  362.               left shift keys simultaneously.
  363.  
  364.               You can change this combination to any two of the
  365.               following:
  366.  
  367.               Ctrl
  368.  
  369.               Lft Shift         Rt Shift
  370.  
  371.               Alt
  372.  
  373.  
  374.               Press the two keys you would like to use:
  375.           _______________________________________________________
  376.  
  377.           As soon as you press the desired key combination, you
  378.           are returned to the main menu of LQINST.
  379.  
  380.           Option 4:  Change buffer size.
  381.  
  382.               Printing in LQ mode is slow enough that you will not
  383.           enjoy sitting idly by waiting for a printout to finish.
  384.           LQ includes a 'print spooler' for printing in the
  385.           background while you use your computer for other tasks.
  386.           The default size of the buffer used by this spooler is
  387.           16K, which will accommodate about six pages of text.
  388.           You can change the buffer size to any value from 1K to
  389.           200K;  when you select option 4 you are prompted to
  390.           enter this value.  For example, if you want a 20K
  391.           buffer just enter the number 20.
  392.  
  393.           Option 5:  Quit.
  394.  
  395.               The last option is used to exit from LQINST.  If
  396.           you have made changes you are prompted
  397.  
  398.                   Save modifications? (Y,N)
  399.  
  400.           If you press 'N' then LQ.COM is unchanged, otherwise
  401.           all changes you have made in this LQINST session are
  402.           made permanent.  (You can always run LQINST again to
  403.           make further changes.)
  404.  
  405.  
  406.           8                         Using LQ in the resident mode
  407.  
  408.           3. Using LQ in the resident mode.
  409.  
  410.               The preferred way to use LQ is in the 'resident'
  411.           mode in which LQ stays in memory while other programs
  412.           are run; this mode offers print spooling and the
  413.           Control Window for changing LQ's parameters.  The
  414.           disadvantage of the resident mode is the memory
  415.           consumption:  with the default 16K buffer the program
  416.           uses about 100K of RAM.  If you don't have enough
  417.           memory to run other programs with LQ installed you
  418.           should use the file mode described in the next section.
  419.           While the latter mode is less convenient you can still
  420.           obtain exactly the same printouts.
  421.  
  422.               If you want to use LQ as a resident program for
  423.           only part of your session on the computer you can enter
  424.               LQ R
  425.           to remove LQ from memory.  This works only if no other
  426.           resident programs have been loaded above LQ, so if you
  427.           plan on using this technique load LQ last (after
  428.           installing other programs such as Sidekick).
  429.  
  430.               To load LQ in the resident mode simply type 'LQ' at
  431.           the DOS prompt.  A variety of options can be set by
  432.           adding parameters to this entry; for example
  433.               LQ C1'SANSSER'
  434.           loads LQ and replaces the first character set with
  435.           SANSSER.SET.  A full description of command line
  436.           parameters is given in Section 6.
  437.  
  438.               Once LQ is loaded you can generally use your accus-
  439.           tomed software with no changes other than improved
  440.           printouts.  (You may have to change your word proc-
  441.           essor's printer description table to accommodate an
  442.           Epson MX 80 or IBM Graphics Printer; see Section 2.)
  443.  
  444.               Some interaction with LQ can increase its effec-
  445.           tiveness.  This section describes how to use the
  446.           Control Window and print spooler to really master your
  447.           printer.
  448.  
  449.           The spooler.
  450.  
  451.               A print spooler is a program which directs pending
  452.           printouts to an area of memory (buffer) and sends
  453.           characters from this intermediate storage to the
  454.           printer only when the computer is relatively idle.  The
  455.           process takes place in the background so that you can
  456.           use your word processing program or other application
  457.           Using LQ in the resident mode                         9
  458.  
  459.           without interruption.  A number of fine print spooling
  460.           programs are available, some of them public domain.
  461.  
  462.               LQ obtains its high quality print by printing in
  463.           the 'graphics mode', and this presents special dif-
  464.           ficulties for a conventional spooler.  Without LQ a
  465.           character is sent to the printer as a single byte or
  466.           unit of information, but LQ requires about 40 bytes to
  467.           'draw' a single character.  A single page of text can
  468.           balloon to over 100K bytes, more than enough to fill
  469.           the typical buffer.  Once the buffer is full a spooler
  470.           no longer yields any advantage - other activities must
  471.           stop until the backlog subsides.
  472.  
  473.               LQ includes an integrated spooler with a default
  474.           buffer of 16K.  Characters are spooled in the standard
  475.           compact form and expanded to graphics in small
  476.           increments.  The default buffer size will accommodate
  477.           about six pages of text and you can increase the size
  478.           to as much as 200K (see Section 2).  The spooler also
  479.           works in draft mode (LQ loaded but turned off), so it
  480.           may be attractive to keep LQ in memory even if your
  481.           demands for letter-quality print are infrequent.
  482.  
  483.               If you find that a pending printout contains an
  484.           error (such as spelling or formatting) you will
  485.           probably want to abort the printing and correct your
  486.           document.  To do this you must 'flush the buffer':  you
  487.           must tell LQ to stop printing and to ignore the
  488.           presence of any remaining characters in its queue.
  489.           This entails a single keypress in the LQ Control Window
  490.           described below.
  491.  
  492.           The LQ Control Window.
  493.  
  494.               There are three ways to select options in LQ:
  495.  
  496.           in the LQ command line (as when you enter
  497.               LQ C1'SANSSER'
  498.           at the DOS prompt to load the character set SANSSER),
  499.  
  500.           using control sequences embedded in your text (such as
  501.             <Esc> <Esc> '2'  to switch to character set 2),
  502.  
  503.           using the LQ Control Window.
  504.  
  505.           When LQ is in the resident mode you can bring up the
  506.           Control Window by simultaneously pressing the right and
  507.           left shift keys (or another pair of shift keys
  508.           installed with LQINST - see Section 2).  You'll
  509.           see the following menu:
  510.           10                        Using LQ in the resident mode
  511.  
  512.  
  513.               Buffer   0% full.  Flush?  Yes
  514.               Current character set:     1
  515.               Wait at form feeds?        No
  516.               Proportional print?        No
  517.               Lines per page:            66
  518.               LQ mode enabled:           Yes
  519.  
  520.           The cursor is initially positioned at the 'Yes' on the
  521.           first line.  The keys you may use are:
  522.  
  523.           down arrow: move down a line,
  524.           up arrow: move up a line,
  525.           space bar: change this option,
  526.           'A': advance the printer a little,
  527.           <Esc>: exit this menu.
  528.  
  529.           The options you can change are:
  530.  
  531.           Flush the buffer:  If you press the space bar on this
  532.             line, any pending printout is aborted.  Use this
  533.             option to remove an errant document from the buffer.
  534.  
  535.           Change character set:  The character set number is
  536.             rotated in the set 1,2,3,4.  If character set
  537.             number two is currently in use and the space bar is
  538.             pressed, then set number three will be used at the
  539.             next opportunity.
  540.  
  541.           Wait at form feeds:  The space bar toggles the status
  542.             of LQ's response to a form feed character (ASCII code
  543.             12).  When this is set to 'Yes', LQ will interrupt a
  544.             program in progress after a form feed is received and
  545.             prompt you to change paper.  In response to the
  546.             prompt, <Enter> will continue printing and <Esc> will
  547.             abort printing.  In either case you are returned to
  548.             the program you were using without interference.
  549.  
  550.           Proportional print:  You can set proportional print on
  551.             or off.  Using proportional print the sequence 'iiii'
  552.             will occupy less space than 'MMMM'.  This makes text
  553.             more attractive but disrupts the spacing of tables
  554.             and text separated by white space.  Try this option
  555.             to see if it is appropriate for your document style.
  556.  
  557.           Lines per page:  The default line spacing, and the one
  558.             normally expected by other programs, is 66 lines per
  559.             page.  If you want to change this, press the space
  560.             bar and then enter the new value (from 1 to 95).
  561.             Because of physical limitations of your printer, not
  562.             all these values are possible; for example, if you
  563.           Using LQ in the resident mode                        11
  564.  
  565.             enter the number 58 you may see this rounded to 59
  566.             (the nearest acceptable value).
  567.  
  568.           LQ enabled:  The LQ mode can be toggled on and off.  In
  569.             the 'off' setting your printer will operate as if LQ
  570.             were not installed, except that print spooling will
  571.             still be functional.
  572.  
  573.           Advance:  Pressing 'A' any time the Control Window is
  574.             open will result in a small (1/216") advance of the
  575.             paper when the window is closed.  With many printers
  576.             the first line of a printout may appear smudged;
  577.             advancing the paper with this option will fix the
  578.             problem.  This is done automatically in the LQ file
  579.             mode (see Section 4) or when LQ is loaded in the
  580.             resident mode (if the printer is on).  You can also
  581.             perform this action by embedding the <Esc> <Esc> B
  582.             control sequence in your text (see Section 5).
  583.  
  584.           When you are finished using the Control Window, press
  585.           <Esc> to return to your previous application.
  586.           12                            Using LQ in the file mode
  587.  
  588.           4. Using LQ in the file mode.
  589.  
  590.               When LQ is invoked with the 'F' option a file is
  591.           printed in letter quality but LQ does not remain
  592.           resident.  An example of this use is
  593.               LQ F'MYFILE'
  594.           which prints the file MYFILE.  The primary reason for
  595.           using the file mode is to accommodate systems with
  596.           insufficient memory for using LQ in the resident mode.
  597.           (Another use is for using LQ in batch files for
  598.           printing letterheads and other designs; see Section
  599.           11.)  Since LQ is not resident in the file mode no
  600.           spooling is performed and you must wait for a printout
  601.           to finish before using your computer for other tasks.
  602.           Also, the Control Window is not available in the file
  603.           mode.
  604.  
  605.               You can use a variety of options in the LQ command
  606.           line; for example
  607.               LQ F'MYFILE' W
  608.           prints MYFILE and waits at form feeds for paper to be
  609.           changed.  See Section 6 for a complete description of
  610.           avaiable options.
  611.  
  612.               When using the F(ile) option, you can stop
  613.           printing at any time by pressing a key; you will be
  614.           asked if you want to abort the printout or continue.
  615.  
  616.               The way you create files to be printed by LQ varies
  617.           from one application to another.  Most word processors
  618.           store documents in special formats which make sense
  619.           only to the program itself; let's call these 'source'
  620.           documents.  You want to print not these but rather the
  621.           'output' documents that correspond to the characters
  622.           which would normally go to the printer.  For example
  623.           when one asks WordStar to print a file the program
  624.           prompts
  625.               Output to disk file?
  626.           and gives the user a chance to channel output to a file
  627.           which would otherwise go to the printer.  Such an
  628.           output file is also called an ASCII file since it
  629.           contains only standard ASCII character codes.  (See
  630.           Appendix B.)
  631.  
  632.               PC-Write is another popular word processor which
  633.           produces ASCII files easily.  The command
  634.               PR MYFILE
  635.           formats and prints the source document MYFILE, and the
  636.           command
  637.               PR MYFILE YOURFILE
  638.           Using LQ in the file mode                            13
  639.  
  640.           sends the output to the second file YOURFILE instead of
  641.           a printer.  PC-Write is an outstanding Shareware
  642.           product; the distribution disk can be obtained for $10
  643.           from Quicksoft, 219 First N. #224, Seattle, WA 98109,
  644.           206/282-0452.
  645.  
  646.               The vast majority of word processing, database and
  647.           spreadsheet programs on the market can produce ASCII
  648.           files; consult your program's manual for details.
  649.  
  650.               If you have a previously-created text file
  651.           'printout' you want to print in a letter quality mode
  652.           you can take two different approaches.
  653.                  LQ F'filename' [parameter list]
  654.           will function as described above, or you can enter
  655.                  COPY filename PRN
  656.           if LQ is resident in memory.  In either case, you may
  657.           want to add additional control codes within the text
  658.           before printing; Section 5 contains a list of control
  659.           codes and their functions.  For example, suppose you
  660.           have used your word processor to create an output file
  661.           with the lines
  662.               This is a test.
  663.               This is only a test.
  664.           The control sequence used to initiate a line of large
  665.           character is '<Esc> <Esc> L'; let's look a couple of
  666.           ways to insert these codes before the first line.  If
  667.           you have Sidekick on your system, you can enter a
  668.           control code such as <Esc> by first pressing <Ctrl P>,
  669.           so you would position the cursor at the start of the
  670.           first line and type
  671.               <Ctrl P> <Esc> <Ctrl P> <Esc> L
  672.           A more universal (but less convenient) method is to use
  673.           EDLINE.COM, the line editor which is included with your
  674.           DOS system disk.  You can edit a given line in the same
  675.           way you edit a line at the DOS prompt; here is a
  676.           summary of line editing functions from the DOS User's
  677.           Guide:
  678.  
  679.           14                            Using LQ in the file mode
  680.  
  681.             DOS           Description
  682.             Editing Key
  683.             Ins           Allows you to insert characters within
  684.                           a line.
  685.             Del           Deletes one character in the input
  686.                           buffer.  The character in the buffer is
  687.                           not displayed and the cursor does not
  688.                           move.
  689.             Esc           Cancels the line currently being
  690.                           displayed.  The buffer remains
  691.                           unchanged.
  692.             F1 or ->      Displays one character from the buffer
  693.                           each time it is pressed.
  694.             F2            Displays all characters up to a
  695.                           specified character.
  696.             F3            Displays all characters in the buffer.
  697.             F4            Displays all characters after and
  698.                           including the specified character.  F4
  699.                           is the opposite of F2.
  700.             F5            Accepts the line you edited as the
  701.                           current buffer line.
  702.  
  703.               Assuming you had saved the previous file under the
  704.           name MYFILE, you would begin your EDLIN session by
  705.           entering
  706.               EDLIN MYFILE.
  707.           Find the number of the line you want to edit by using
  708.           the List or Search commands (see the DOS manual for
  709.           details), then enter this number to edit the line.  In
  710.           this case we know in advance that we want to edit the
  711.           first line, so we would enter the number '1'.  The
  712.           screen should show
  713.               1:*This is a test.
  714.               1:*
  715.           Control characters can be entered by using the <Ctrl V>
  716.           prefix; for example, <Ctrl T> can be entered by typing
  717.           <Ctrl V> T, and <Esc> can be entered by typing
  718.           <Ctrl V> [.  Press Ins to enter the insert mode, then
  719.           type <Ctrl V> [ <Ctrl V> [ L.  Press F3 to display the
  720.           rest of the buffer ('This is a test.') and press
  721.           return.  To save the modified file, enter 'E'.
  722.  
  723.               Many word processors (including PC-Write) allow
  724.           the direct entry of control codes, so you may not need
  725.           to go through such an extra step to use LQ's special
  726.           features.  Consult your word processor's manual for
  727.           details.
  728.  
  729.  
  730.           Control sequences                                    15
  731.  
  732.           5. Control sequences.
  733.  
  734.               A 'control sequence' in a document is a sequence
  735.           of codes or characters which has a special meaning to
  736.           your printer (or the program controling it), and which
  737.           changes the way in which subsequent characters are
  738.           printed.  You have probably used such codes for some
  739.           time, perhaps without realizing it.  When you tell your
  740.           word processor to print a book's title in boldface or
  741.           to print a subscript, you are telling your software to
  742.           insert the appropriate control characters for perform-
  743.           ing these functions.
  744.  
  745.               Regardless of what kind of printer you are using,
  746.           LQ will make your printer appear to a word processor or
  747.           other application as an Epson MX 80 (or IBM Graphics
  748.           Printer).  Assuming that you have installed your
  749.           application program for this printer you can get
  750.           extensive use out of LQ without any direct involvement
  751.           with control sequences.
  752.  
  753.               If your program does not support all the features
  754.           of an Epson MX 80 (italics, underlining, emphasized
  755.           print, superscript/subscript, etc.) or if you want to
  756.           use some of the special features of LQ (large char-
  757.           acters, proportional print, graphics), you will need to
  758.           insert control codes on your own.  You can always use
  759.           EDLIN.COM (a line editor included with your DOS system
  760.           disk) to do this; you probably have an easier way at
  761.           your disposal.  Read Section 4 for details on inserting
  762.           control codes.
  763.  
  764.               If the LQ feature you want to use will not change
  765.           during a printout, you can request it in the LQ command
  766.           line rather than using control sequences.  For example,
  767.           'LQ C3' turns on character set number three (out of the
  768.           four in memory) as an alternative to '<Esc> <Esc> 3'
  769.           within your document.  The LQ command line options are
  770.           described in the following section.
  771.  
  772.               You can also use the Control Window to use some LQ
  773.           features; see Section 3.
  774.  
  775.               In addition to inserting control codes or using the
  776.           Control Window to switch character sets, one other
  777.           technique is available.  Most word processors have a
  778.           way of turning on italics; since the italic set is
  779.           expected to be the second of LQ's four sets, you can
  780.           change to any second set by turning on italics.  If you
  781.           want to use this method, have LQ load the desired
  782.           16                                    Control sequences
  783.  
  784.           alternate character set with a command such as
  785.               LQ C2'SANSSER'
  786.           (which loads SANSSER.SET as character set number 2,
  787.           replacing italics).
  788.  
  789.           Control functions available in LQ.
  790.  
  791.               Following is a list of LQ functions which may be
  792.           used or changed within a document using control
  793.           sequences.  Those functions which can be renamed (with
  794.           different control sequences which will have the same
  795.           effect) are indicated with an asterisk; the renaming is
  796.           done in a 'configuration file' (see Section 7.)  Each
  797.           control sequence is shown in two forms: the sequence of
  798.           keys to press, then the corresponding sequence of
  799.           (decimal) ASCII codes.  For example,
  800.             <Esc> 'E' = 27,69
  801.           indicates that the sequence consists of the escape key
  802.           code followed by the code for the capital E character.
  803.           Sequences beginning with <Esc> <Esc> are unique to LQ;
  804.           all others correspond to standard Epson control codes.
  805.           The standard codes are usually inserted automatically
  806.           by a word processor when the associated mode is
  807.           requested, but the additional LQ modes must be added
  808.           explicitly.
  809.  
  810.           * Turn on boldface:
  811.             <Esc> 'E' = 27,69  or  <Esc> 'G' = 27,71
  812.  
  813.           * Turn off boldface:
  814.             <Esc> 'F' = 27,70  or  <Esc> 'H' = 27,72
  815.  
  816.           * Turn on italics (character set #2):
  817.             <Esc> '4' = 27,52
  818.  
  819.           * Turn off italics (turn on set #1):
  820.             <Esc> '5' = 27,53
  821.  
  822.           * Turn on double-wide print:
  823.             <Ctrl N> = 14
  824.  
  825.           * Turn off double-wide print:
  826.             <Ctrl T> = 20
  827.  
  828.           * Turn on underline:
  829.             <Esc> '-' #  = 27,45,#    where # corresponds to any
  830.              code except 0 or '0'.  For example, use
  831.              <Esc> '-' '1' = 27,45,49.
  832.  
  833.           Control sequences                                    17
  834.  
  835.           * Turn off underline:
  836.             <Esc> '-' #  = 27,45,#    where # corresponds to
  837.              either '0' or 0.  For example, use <Esc> '-' '0' =
  838.              27,45,48.
  839.  
  840.           * Superscript:
  841.             <Esc> 'S' # = 27,83,#   where # corresponds to '0' or
  842.             0.  For example, <Esc> 'S' '0' = 27,45,48.
  843.  
  844.           * Subscript:
  845.             <Esc> 'S' # = 27,83,#   where # corresponds to any
  846.              code except 0 or '0'.  For example, use <Esc> 'S'
  847.              '1' = 27,45,49.
  848.  
  849.           * Superscript/subscript off:
  850.             <Esc> 'T' = 27,84
  851.  
  852.             Switch to character set n (1 <= n <= 4):
  853.             <Esc> <Esc> 'n'.  For example, <Esc> <Esc> '3' =
  854.              27,27,51  turns on character set number 3.
  855.  
  856.             Advance paper a little to put tension on paper
  857.              (recommended for preceding first line of printout;
  858.              this function is performed automatically when the
  859.              F(ile) option is used.):
  860.             <Esc> <Esc> 'B' = 27,27,66
  861.  
  862.             Turn on graphics mode:
  863.             <Esc> <Esc> 'C' = 27,27,67
  864.              The graphics mode suppresses the normal space
  865.              between characters and between lines so that you can
  866.              produce letterheads and other pictures.  See Section
  867.              11 for details.
  868.  
  869.             Turn off graphics mode:
  870.             <Esc> <Esc> 'D' = 27,27,68
  871.  
  872.             Turn on triple-high (large) characters in the current
  873.             set:
  874.             <Esc> <Esc> 'L' = 27,27,76
  875.              The large mode stays on for the entire line
  876.              regardless of where in the line it was turned on,
  877.              and the mode is turned off automatically at the end
  878.              of the line.
  879.  
  880.             Turn on proportional spacing:
  881.             <Esc> <Esc> 'P' = 27,27,80
  882.  
  883.             Turn off proportional spacing:
  884.             <Esc> <Esc> 'Q' = 27,27,81
  885.  
  886.           18                                        LQ parameters
  887.  
  888.             Set line space to n units (where one unit is either
  889.              1/144" or 1/216" depending on the smallest line
  890.              advance your printer supports):
  891.             <Esc> <Esc> 'S' # = 27,27,83,#
  892.              where # is the number (from 1 to 255) of increments
  893.              desired.  For example, the smallest Epson line
  894.              advance is 1/216", so <Esc> <Esc> 'S' '$' =
  895.              27,27,83,36 sets the line space to 36/216" = 1/6".
  896.              It is generally easier to use the L(ines per page)
  897.              parameter when activitating LQ or the lines per page
  898.              option in the Control Window to determine the number
  899.              of lines on an 11" page.
  900.  
  901.             Wait for key to be pressed at page breaks:
  902.             <Esc> <Esc> 'W' = 27,27,87
  903.  
  904.             Don't wait at page breaks (the default):
  905.             <Esc> <Esc> 'X' = 27,27,88
  906.  
  907.           Other control codes.
  908.  
  909.               Three additional control codes are recognized by
  910.           LQ: 10 (line feed), 12 (form feed) and 13 (carriage
  911.           return).  All other control codes (ASCII codes less
  912.           than 32) besides those listed above (or the substitutes
  913.           given in a parameter file) are ignored.  It is unlikely
  914.           that your word processor or other application program
  915.           will insert such codes without your having explicitly
  916.           requested them, so you should not have any unpleasant
  917.           surprises in store.  However, just in case you see an
  918.           occasional mystery character in your printouts, here is
  919.           what could happen: if your word processor puts the
  920.           sequence <Esc> 'A' in your text, expecting some
  921.           response from your printer, the <Esc> would be stripped
  922.           by LQ but the 'A' would be printed.  If the <Esc> 'A'
  923.           corresponds to a needed printer function, you may need
  924.           to specify it in a configuration file;  if the sequence
  925.           is superfluous when used with LQ then you should
  926.           install it as one of the sequences to ignore.  In
  927.           either case, see Section 7 for more information.
  928.  
  929.  
  930.           6. The LQ parameter line.
  931.  
  932.               An easy way to set one-shot options LQ is in
  933.           the command line typed when LQ is installed.  For
  934.           example if you want proportional spacing for all your
  935.           printing,
  936.               LQ MP
  937.           will install LQ with the proportional mode turned on.
  938.           The 'LQ' file must be loaded each time an LQ command is
  939.           LQ parameters                                        19
  940.  
  941.           given, so if LQ is not on the default drive, give the
  942.           full path name for LQ, e.g. B:LQ MP (if LQ is on the
  943.           disk in drive B).  You select as many options as you
  944.           like in a single line by separating parameters with
  945.           spaces.  For example,
  946.               LQ MPE F'MYFILE' W
  947.           turns on proportional spacing, emphasized printing
  948.           for the file MYFILE, pausing at form feeds.  This
  949.           section lists all command line options.  Parameters are
  950.           shown in upper case, but you can mix upper and lower
  951.           case freely.
  952.  
  953.           B
  954.             Set the buffer size (1 - 200) in K bytes.  For
  955.             example LQ B64 dedicates 64K of RAM to the print
  956.             spooler.  (The default is 16K.)  The command
  957.             LQ BF flushes the buffer.  (It is easier to flush the
  958.             buffer using the Control Window.)
  959.  
  960.             The buffer can be installed only when LQ is first
  961.             loaded.  To change the buffer size, first remove LQ
  962.             (see the R option below) then load again.
  963.  
  964.           C
  965.             Specifies a  character set in memory, or loads a new
  966.             set.  Four sets are embedded in LQ, and the first of
  967.             these is normally used as the default.  LQ C4
  968.             switches printing to the fourth set; when used in
  969.             this way, 'C' can be followed by one of the digits
  970.             1,2,3, 4.  The standard sets installed in LQ are:
  971.               1 - COURIER.SET
  972.               2 - COURITAL.SET
  973.               3 - HELV.SET
  974.               4 - PALATINO.SET
  975.             These defaults can be changed with the LQINST
  976.             program described in Section 2.  You can see a list
  977.             of all character sets on the LQ disk by typing DIR
  978.             *.SET at the DOS prompt '>'.  A printout of current
  979.             sets is given in Section 9.
  980.  
  981.             If the 'C' option is followed by a file name in
  982.             quotes, the character set having this name is loaded
  983.             to the indicated set number.  For example,
  984.                       LQ C2'PRETTY'
  985.             would load the character set PRETTY.SET as set number
  986.             two (without switching to it).  The 'SET' suffix is
  987.             the default; you should stick with this naming
  988.             convention to maintain compatibility with the
  989.             character editor EDCHAR.  You can simultaneously load
  990.             a set and switch to it by using 'C' in both contexts;
  991.             e.g.,     LQ C2'PRETTY' C2.
  992.           20                                        LQ parameters
  993.  
  994.             You can load all four sets in one line:
  995.                       LQ C1'FIRST' C2'SECOND' ...
  996.             You can also use path names in the file
  997.             specification:
  998.                       LQ C1'/MYDIR/FIRST'
  999.  
  1000.           F
  1001.             If you have a file named MYFILE, the command
  1002.                       LQ F'MYFILE'
  1003.             will print MYFILE without locking LQ into memory.
  1004.             This is an important option if your computer doesn't
  1005.             have enough memory to keep LQ resident, or if most of
  1006.             your printing is in draft mode.  The file to be
  1007.             printed should be a standard text file, possibly
  1008.             containing some of the control sequences described in
  1009.             Section 3.  The file mode is described in Section 4.
  1010.  
  1011.           K
  1012.             This lets you override the default key combination
  1013.             used to bring up the Control Window and assign a new
  1014.             pair of keys.  Use the following values:
  1015.  
  1016.                3 - Right Shift + Left Shift,
  1017.                5 - Right Shift + Ctrl,
  1018.                9 - Right Shift + Alt,
  1019.                6 - Left Shift + Ctrl,
  1020.               10 - Left Shift + Alt,
  1021.               12 - Ctrl + Alt,
  1022.                N - Disable window.
  1023.  
  1024.             For example, LQ K12 specifies the <Ctrl> <Alt>
  1025.             combination, and LQ KN disables the window.
  1026.  
  1027.           L
  1028.             Sets the number of lines printed on a standard 11"
  1029.             page.  The default is 66; LQ L70 changes this to 70.
  1030.             The number entered must be from 1 to 95.  Spacing
  1031.             between lines is micro-adjusted using the smallest
  1032.             line advance supported by your printer (1/216" or
  1033.             1/144").
  1034.  
  1035.           M
  1036.             Sets one or more of the following modes:
  1037.              P: proportional spacing,
  1038.              W: double-wide printing,
  1039.              E: emphasized printing.
  1040.             For example, LQ MPEW could be used to set all three
  1041.             modes.  Modes omitted default to the opposite state.
  1042.  
  1043.           LQ parameters                                        21
  1044.  
  1045.           Q
  1046.             Suppresses the display of LQ's 'welcome' screen and
  1047.             begins execution immediately.  This is useful in
  1048.             batch files; for example, the commands
  1049.               LQ F'MYFILE' C1'SANSSER' Q
  1050.               LQ F'YOURFILE' C1'HELV' Q
  1051.             could be executed without the need for an operator to
  1052.             press a key to continue.
  1053.  
  1054.           R
  1055.             The command
  1056.               LQ R
  1057.             removes LQ from RAM and returns the memory previously
  1058.             used to your system.  This option can be used only if
  1059.             LQ was the last 'memory-resident' utility loaded.
  1060.  
  1061.           S
  1062.             Sets the space per line in units of the smallest
  1063.             possible line advance.  For example, on an Epson
  1064.             (which advances in multiples of 1/216"), the command
  1065.             LQ S30 would set the distance between the tops of
  1066.             successive lines to 30/216".  The 'L' parameter
  1067.             generally offers an easier way of accomplishing the
  1068.             same objective.
  1069.  
  1070.           W
  1071.             Wait at page breaks.  Use this for printing with
  1072.             single-sheet paper.  Each time the form feed
  1073.             character  (ASCII code 12) is encountered in a
  1074.             printout you will be prompted to
  1075.               Press <Enter> for next page:
  1076.             (In the file mode you can also press <Esc> to abort
  1077.             the printout.)
  1078.  
  1079.           #
  1080.             Specify printer number (0,1 or 2) to be used by LQ.
  1081.             If you have just one printer don't use this
  1082.             parameter; the proper value (0) is set by default.
  1083.           22                                  Configuration files
  1084.  
  1085.           7. Creating or modifying a configuration file.
  1086.  
  1087.               If your printer is compatible with an Epson or
  1088.           another printer for which a configuration file (with
  1089.           suffix PAR) exists on the LQ disk, just follow the
  1090.           directions in Section 2 for letting LQ know what you
  1091.           have.  If neither the built-in configuration nor any of
  1092.           the PAR alternatives work, you will have to write your
  1093.           own configuration file.  If you have problems, send us
  1094.           a copy of the control code section of your printer
  1095.           manual and we will try to write the file for you.  For
  1096.           LQ to work properly, your printer must support
  1097.  
  1098.             1. a graphics mode in which 8 pins of the print head
  1099.                can be individually controlled, and
  1100.  
  1101.             2. a minimum line advance of either 1/216" or 1/144".
  1102.  
  1103.           In addition, the graphics mode must be intialized with
  1104.           a control sequence telling the printer how much
  1105.           subsequent data will be in graphics mode.  A prominent
  1106.           counterexample is the Okidata 92, which
  1107.  
  1108.             1. controls only 7 pins in graphics mode, and
  1109.  
  1110.             2. uses one control sequence to turn graphics on and
  1111.                another to turn it off.
  1112.  
  1113.           Later model Okidata printers and those equipped with
  1114.           the 'Plug and Play' ROM do support LQ.
  1115.  
  1116.               A configuration file is a text file named with a
  1117.           suffix of PAR which contains lines typically starting
  1118.           with a symbol indicating a definition category,
  1119.           followed by a letter specifying the function to be set,
  1120.           then the '=' character, then a word or sequence of
  1121.           characters and numbers giving the definition itself.
  1122.           For example,
  1123.               %A=27,'E'
  1124.           indicates that emphasized print will be turned on with
  1125.           the <ESC> 'E' sequence (that normally used by the
  1126.           Epson).  A control sequence is a list of codes and/or
  1127.           characters separated by commas; characters are put
  1128.           within quotes (one pair of single quotes per character)
  1129.           and codes are given as decimal numbers.  The definition
  1130.               %A=27,69
  1131.           is equivalent to that above since 69 is the ASCII code
  1132.           for 'E'.  (See Appendix B for a listing of ASCII
  1133.           codes.)  The leading symbol indicates one of the
  1134.           following categories:
  1135.           Configuration files                                  23
  1136.  
  1137.               % - a control sequence for a mode definition,
  1138.               & - a control sequence to ignore,
  1139.               $ - one of the words TRUE, FALSE,
  1140.               # - a decimal number.
  1141.           A line starting with any other symbol is treated as a
  1142.           comment.
  1143.  
  1144.               While a complete listing of LQ parameters is given
  1145.           below, there are only a few that you will need to
  1146.           change to create a customized PAR file for a new
  1147.           printer.  These are:
  1148.             %N, %O, %P, %Q, %R
  1149.             $A, $B, $C
  1150.             #A, #B
  1151.           To install LQ with your new printer XYZ we recommend
  1152.           the following procedure:
  1153.  
  1154.             COPY EPSON.PAR XYZ.PAR
  1155.  
  1156.             Edit the XYZ.PAR file (using EDLIN or another editor
  1157.             which can handle standard ASCII files): modify the 10
  1158.             parameters listed above to describe your printer's
  1159.             functions.
  1160.  
  1161.             Run LQINST as described in Section 2.
  1162.  
  1163.           Remember that LQ will make your printer appear to a
  1164.           word processor as an Epson MX 80 (or IBM Graphics
  1165.           Printer), so perform the necessary installation on your
  1166.           word processor as well.
  1167.  
  1168.               Two values have special significance in a control
  1169.           sequence.  The number 0 will match 0 or '0' (the
  1170.           character whose ASCII code is 48), and the number 255
  1171.           will match anything else.  For an illustration, see the
  1172.           description of the &A parameter in the EPSON.PAR
  1173.           listing below.
  1174.  
  1175.               Here is the information LQ needs (any one of these
  1176.           omitted defaults to the Epson value):
  1177.  
  1178.                  % parameters.
  1179.  
  1180.             %A - control sequence for turning on emphasized
  1181.                  print,
  1182.  
  1183.             %B - sequence for turning off emphasized print,
  1184.  
  1185.             %C - sequence for turning on double-strike print,
  1186.  
  1187.             %D - sequence for turning off double-strike print,
  1188.           24                                  Configuration files
  1189.  
  1190.  
  1191.             %E - sequence for turning on italics,
  1192.  
  1193.             %F - sequence for turning off italics,
  1194.  
  1195.             %G - sequence for turning on double-wide print,
  1196.  
  1197.             %H - sequence for turning off double-wide,
  1198.  
  1199.             %I - sequence for turning on underline mode,
  1200.  
  1201.             %J - sequence for turning off underline mode,
  1202.  
  1203.             %K - sequence for turning on superscript,
  1204.  
  1205.             %L - sequence for turning on subscript,
  1206.  
  1207.             %M - sequence for turning off superscript/subscript,
  1208.  
  1209.             %N - prefix for turning on high-resolution graphics.
  1210.                  For example, the Epson MX 80 manual describes
  1211.                  its high-resolution mode as follows:
  1212.                  <ESC> L  Sets dot graphics mode to 960 dots per
  1213.                           8" line.
  1214.                           Format: <ESC> 'L' N1 N2, N1 and N2
  1215.                           determine line length.  Line length =
  1216.                           N1 + 256*N2
  1217.                           1 <= N1 <= 255, 1 <= N2 <= 255
  1218.                  Thus you would enter the prefix in your
  1219.                  configuration file as %N=27,'L' or %N=27,76.
  1220.                  (You would also set the number of graphics bytes
  1221.                  to 2 with #A=2, and non-ASCII (binary) number
  1222.                  format with $B=FALSE.  See below.)
  1223.                  If you have several graphics densities to choose
  1224.                  from, pick the one closest to 960 dots per 8"
  1225.                  line (120 dots per inch).
  1226.  
  1227.             %O - In a similar fashion, %O gives the prefix used
  1228.                  to set line feeds in units of the smallest
  1229.                  possible increment.  Again, here is the
  1230.                  appropriate material from the Epson manual:
  1231.                  <ESC> 3  Sets line spacing to N/216".  Format:
  1232.                           <ESC> '3' N, 1 <= N <= 255
  1233.                  You would enter %O=27,'3' (and set the number of
  1234.                  line feed bytes with #B=1).
  1235.  
  1236.             %P - The control sequence used to put your printer in
  1237.                  'unidirection' mode.  Most dot matrix printers
  1238.                  print in both directions to speed up output, but
  1239.                  the resulting characters are apt to vary in
  1240.                  alignment.
  1241.           Configuration files                                  25
  1242.  
  1243.  
  1244.             %Q - The sequence of characters you would like sent
  1245.                  to your printer when LQ is disabled from the
  1246.                  Control Window.  This should include an
  1247.                  appropriate line feed setting and a return to
  1248.                  bidirectional printing.  You can also reset your
  1249.                  printer by turning its power off and on.
  1250.  
  1251.             %R - The sequence of characters you would like sent
  1252.                  at the start of each line printed by LQ.  Epson-
  1253.                  compatible printers don't need this parameter,
  1254.                  but it can be very useful for other printer
  1255.                  types.  For example, the C. Itoh doesn't have a
  1256.                  separate 'high-resolution' graphics mode;
  1257.                  graphics printing functions in the last
  1258.                  character pitch (pica, elite, compressed,...)
  1259.                  set.  The most appropriate pitch is compressed;
  1260.                  %R=27,'Q' sets this at the start of each line.
  1261.  
  1262.                  & parameters.
  1263.  
  1264.             &A - A sequence of characters to ignore (filter) from
  1265.                  a printout.  Word processors often send
  1266.                  initialization sequences which might appear as
  1267.                  'garbage' when printed by LQ.  The '&'
  1268.                  parameters have been set to take care of any
  1269.                  problems that could arise with the Epson MX /
  1270.                  IBM Graphics Printer.
  1271.  
  1272.             &B, ... ,&L -
  1273.                  Additional sequences to ignore.
  1274.  
  1275.                  $ parameters.
  1276.  
  1277.             $A - You control 8 pins on the print head in graphics
  1278.                  mode.  The pins correspond to the numbers
  1279.                  1,2,4,8,16,32,64,128; for example, to fire the
  1280.                  two pins corresponding to the numbers 2 and 16,
  1281.                  the code 18 is sent to the printer.  If the
  1282.                  highest pin corresponds to 1 and the lowest to
  1283.                  128, set $A=TRUE; if the order is reversed, set
  1284.                  A$=FALSE.
  1285.  
  1286.             $B - There are two ways various printers accept
  1287.                  numeric values: ASCII and binary.  To indicate
  1288.                  to an Epson printer that 300 graphics positions
  1289.                  are about to be printed, the prefix
  1290.                   <ESC>,'L',44,1
  1291.                  is sent.  The numbers 44 and 1 are combined as
  1292.                  44 + 256*1 to obtain the number 300; this is the
  1293.                  binary format.  On many other brands of printers
  1294.           26                                  Configuration files
  1295.  
  1296.                  the number 300 would be sent as '3','0','0' or
  1297.                  '0','3','0','0' in ASCII format.  Set $B=TRUE
  1298.                  for ASCII or $B=FALSE for binary.
  1299.  
  1300.             $C - Set $C=TRUE if the minimum line space your
  1301.                  printer will accept is 1/216"; if this value is
  1302.                  1/144", set $C=FALSE.
  1303.  
  1304.                  # parameters.
  1305.  
  1306.             #A - The number of bytes after the graphics prefix
  1307.                  (specified with %N) used to set the number of
  1308.                  bytes expected by the printer.  For example, to
  1309.                  print 300 bytes in high-resolution graphics you
  1310.                  first send the Epson the sequence
  1311.                  <ESC>,'L',44,1; since the prefix takes up two of
  1312.                  these four bytes, the remaining two determine
  1313.                  the setting #A=2.  The same task on a C. Itoh
  1314.                  requires sending <ESC>,'S','0','3','0','0', so
  1315.                  you would set #A=4.
  1316.  
  1317.             #B - The number of bytes after the line feed prefix
  1318.                  (specified with %O) to determine the space
  1319.                  advanced by a line feed.  (See #A.)
  1320.  
  1321.               Any setting omitted in a configuration file
  1322.           defaults to the corresponding Epson value; see the
  1323.           EPSON.PAR listing below.
  1324.  
  1325.           Creating the configuration file.
  1326.  
  1327.               Now that you know what to put in your config-
  1328.           uration file, how do you actually create one?  Any
  1329.           screen or line editor will do; you will probably want
  1330.           to use your accustomed word processor.  If you have no
  1331.           other alternative, you can always use the EDLINE line
  1332.           editor which comes with DOS.  Just make sure that you
  1333.           create a standard ASCII file, not a file in a special
  1334.           non-ASCII format used internally by your program.  To
  1335.           see if you can make such a file, try writing a 2-line
  1336.           test file and store it under the name TESTFILE.  Then
  1337.           (at the DOS prompt '>') enter TYPE TESTFILE; if the
  1338.           lines look right on your screen, you are probably in
  1339.           luck.  Check your word processor index under ASCII for
  1340.           details.
  1341.  
  1342.               If you have an unusual printer and succeed in
  1343.           creating a new configuration file for it, please send
  1344.           us a listing of your file.  In return, if your
  1345.           Configuration files                                  27
  1346.  
  1347.           configuration is significantly different from those we
  1348.           already have on record we will send you a free LQ
  1349.           update.
  1350.  
  1351.           The EPSON.PAR configuration file.
  1352.  
  1353.               If you are using an Epson printer or close
  1354.           compatible you should never need a configuration file;
  1355.           all needed parameters are already set by default.
  1356.           However, if you are creating a new configuration file
  1357.           for a different printer it is instructive to look at
  1358.           the EPSON.PAR file which lists the Epson parameters;
  1359.           the form of the file may be helpful, and you should
  1360.           know what the defaults are in case you omit a parameter
  1361.           line.  Here are the Epson values:
  1362.  
  1363.             {emphasized on:}
  1364.             %A=27,'E'
  1365.             {emphasized off:}
  1366.             %B=27,'F'
  1367.             {double-strike on:}
  1368.             %C=27,'G'
  1369.             {double-strike off:}
  1370.             %D=27,'H'
  1371.             {italics on:}
  1372.             %E=27,'4'
  1373.             {italics off:}
  1374.             %F=27,'5'
  1375.             {double wide on:}
  1376.             %G=14
  1377.             {double wide off:}
  1378.             %H=20
  1379.             {underline on:}
  1380.             %I=27,'-',255
  1381.               {the 255 code will match any 1-byte value except
  1382.                for 0 and '0'=48.  Likewise, 0 matches 0 or
  1383.                '0'=48.  This means you can turn off underlining
  1384.                in a document with the sequence <ESC> '-' '0',
  1385.                which is much easier to insert than <ESC> '-' 0.}
  1386.             {underline off:}
  1387.             %J=27,'-',0
  1388.             {superscript on:}
  1389.             %K=27,'S',0
  1390.             {subscript on:}
  1391.             %L=27,'S',255
  1392.             {superscript/subscript off:}
  1393.             %M=27,'T'
  1394.             {hi-res graphics prefix:}
  1395.             %N=27,'L'
  1396.             {set line feed:}
  1397.             %O=27,'3'
  1398.           28                                        Printing tips
  1399.  
  1400.             {unidirection:}
  1401.             %P=27,'U',1
  1402.             {restore:}
  1403.             %Q=27,'U',0,27,'2'
  1404.             {start each line with:}
  1405.             %R=
  1406.             {no sequence needed for the Epson}
  1407.  
  1408.             {ignore:}
  1409.             &A=27,'3',255
  1410.             {<Esc> '3' N sets line space to N/216}
  1411.             {255 matches any value but 0 or 48}
  1412.             &B=27,'A',255
  1413.             &C=27,'C',0,255
  1414.             &D=27,'C',255
  1415.             &E=27,'N',255
  1416.             &F=27,'O'
  1417.             &G=27,'Q',255
  1418.             &H=27,'W'
  1419.             &I=27,'0'
  1420.             &J=27,'1'
  1421.             &K=27,'2'
  1422.             &L=27,'<'
  1423.  
  1424.             {true/false:}
  1425.             $A=FALSE
  1426.             {pin 128 on top}
  1427.             $B=FALSE
  1428.             {numbers in binary, not ASCII}
  1429.             $C=TRUE
  1430.             {min linefeed=1/216}
  1431.  
  1432.             {numbers:}
  1433.             #A=2
  1434.             {2 bytes allocated for number of graphics bytes}
  1435.             #B=1
  1436.             {1 byte for length of linefeed length}
  1437.  
  1438.  
  1439.           8. Tips for better printouts.
  1440.  
  1441.               LQ obtains its high quality print by making three
  1442.           passes over each line, placing dots at very precise
  1443.           positions.  Any 'play' in the paper can disrupt this
  1444.           precision and blur a line of print.  To keep the
  1445.           alignment precise, it we recommend that you use
  1446.           friction feed if possible, even if you are using pin-
  1447.           feed paper.  LQ works fine without friction feed, but
  1448.           you must make certain that the paper feeds evenly and
  1449.           that there is uniform tension on the paper.
  1450.  
  1451.           Character sets                                       29
  1452.  
  1453.               As previously mentioned, the first line of print
  1454.           is something of a special case.  When your printer is
  1455.           first turned on there is not apt to be sufficient
  1456.           tension on the paper to obtain the needed precision on
  1457.           the first line.  This problem is solved by advancing
  1458.           the paper a negligible distance; this is done
  1459.           automatically when you use the F option for printing
  1460.           files or when LQ is loaded in the resident mode (if the
  1461.           printer's power is on).  In other cases you can use the
  1462.           Control Window to advance the paper by pressing the 'A'
  1463.           key.  You can also begin a document with a blank line
  1464.           or with <Esc> <Esc> B (see Section 5).
  1465.  
  1466.               Proportional spacing can improve the appearance of
  1467.           a docoument, but this mode must be used with caution.
  1468.           Since extra 'white space' between characters is removed
  1469.           and since the amount of such space varies considerably
  1470.           (e.g. compare the characters 'i' and 'w'), tables of
  1471.           data can be distorted.  For example, if the two lines
  1472.               iiii            xxxx
  1473.               wwww            yyyy
  1474.           were printed with proportional spacing, the 'yyyy'
  1475.           would be further left than 'xxxx'.  One way to avoid
  1476.           this problem is to turn proportional spacing off (with
  1477.           <ESC> <ESC> 'Q') just before the table and back on
  1478.           (<ESC> <ESC> 'P') at the end of the table.
  1479.  
  1480.               Most LQ modes are enhancements of familiar print
  1481.           styles, so your word processor should not require
  1482.           special consideration.  However, triple-high characters
  1483.           will definitely come as a surprise to any program which
  1484.           thinks it is counting 1/6" lines; you will use up a
  1485.           sheet of paper three times faster than your word
  1486.           processor expects.  To fix this, you can change the
  1487.           number of lines per page in your word processor, or
  1488.           take charge yourself in other ways.  One compromise has
  1489.           been made to keep margins consistent:  if the string
  1490.              '       This is a test.'
  1491.           (7 spaces preceding 'This') is printed in 'large
  1492.           character' mode, the leading spaces are printed as
  1493.           normal characters.  This lets you set the margin to a
  1494.           fixed value in your word processor rather than worrying
  1495.           about whether the margin is in terms of large or
  1496.           regular spaces.
  1497.  
  1498.  
  1499.           30                                       Character sets
  1500.  
  1501.           9. Character sets available in LQ.
  1502.  
  1503.               The following list of LQ character sets will
  1504.           almost certainly be incomplete; new sets are being
  1505.           created on a regular basis.  To see a list of all
  1506.           character sets on the LQ disk, type DIR *.SET.  (These
  1507.           sets will all appear the same if you are printing these
  1508.           instructions yourself.  If you have an Epson-compatible
  1509.           printer you can see a printed copy of all character
  1510.           sets on the LQ distribution disk by typing PRINSETS.)
  1511.  
  1512.           COURIER
  1513.                !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNO
  1514.               PQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
  1515.  
  1516.           COURIER2
  1517.                !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNO
  1518.               PQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
  1519.  
  1520.           COURITAL
  1521.                !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNO
  1522.               PQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
  1523.  
  1524.           GREEK
  1525.                !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNO
  1526.               PQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
  1527.  
  1528.           HELV
  1529.                !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNO
  1530.               PQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
  1531.  
  1532.           HELV2
  1533.                !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNO
  1534.               PQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
  1535.  
  1536.           HELVITAL
  1537.                !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNO
  1538.               PQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
  1539.  
  1540.           MAIN
  1541.                !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNO
  1542.               PQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
  1543.  
  1544.           MAINITAL
  1545.                !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNO
  1546.               PQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
  1547.  
  1548.           PALATINO
  1549.                !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNO
  1550.               PQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
  1551.           Character sets                                       31
  1552.  
  1553.  
  1554.           ROMAN
  1555.                !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNO
  1556.               PQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
  1557.  
  1558.           ROMAN2
  1559.                !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNO
  1560.               PQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
  1561.  
  1562.           ROMANITA
  1563.                !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNO
  1564.               PQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
  1565.  
  1566.           SANS2ITA
  1567.                !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNO
  1568.               PQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
  1569.  
  1570.           SANSITAL
  1571.                !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNO
  1572.               PQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
  1573.  
  1574.           SANSSER
  1575.                !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNO
  1576.               PQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
  1577.  
  1578.           SANSSER2
  1579.                !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNO
  1580.               PQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
  1581.  
  1582.  
  1583.           LQ's default character sets.
  1584.  
  1585.               The default sets installed in LQ are
  1586.  
  1587.               1 - COURIER.SET
  1588.               2 - COURITAL.SET
  1589.               3 - HELV.SET
  1590.               4 - PALATINO.SET
  1591.  
  1592.           The second set is an italicized version of the first
  1593.           and will be used automatically when you tell your word
  1594.           processor to use italics.  The other such pairs of sets
  1595.           are
  1596.               HELV.SET            HELVITAL.SET
  1597.               MAIN.SET            MAINITAL.SET
  1598.               ROMAN.SET           ROMANITA.SET
  1599.               SANSSER.SET         SANSITAL.SET
  1600.               SANSSER2.SET        SANS2ITA.SET
  1601.  
  1602.           Other sets currently included do not have italicized
  1603.           companions.
  1604.           32                                       Character sets
  1605.  
  1606.  
  1607.               You can change the fonts which are loaded
  1608.           automatically as part of LQ with the LQINST program.
  1609.           You can also create or change fonts with the EDCHAR
  1610.           program.
  1611.  
  1612.  
  1613.           10. Editing character sets: the EDCHAR program.
  1614.  
  1615.               Sooner or later you will probably want to modify
  1616.           one of the character sets provided with LQ, or make a
  1617.           new set from scratch.  For example, you may need a
  1618.           couple of special technical symbols occasionally, or
  1619.           you may fall in love with an altogether new font.  The
  1620.           EDCHAR program included on the LQ disk offers a
  1621.           convenient way to edit characters in the format
  1622.           expected by LQ.  The basic sequence is to run the
  1623.           program, specify the character set you want to edit
  1624.           (which may be an existing set or a new one), edit one
  1625.           or more characters corresponding to the ASCII codes 32-
  1626.           127, then save the revised (or created) set.  EDCHAR
  1627.           also lets you move characters from one set to another
  1628.           easily.
  1629.  
  1630.               To get started simply insert the LQ disk and type
  1631.           EDCHAR.  If you want to edit an existing set, you will
  1632.           want to load it now; if you are creating a new set, you
  1633.           can skip this step.  Press 'L' to get the following
  1634.           L(oad) submenu:
  1635.  
  1636.             1. Load main character set.
  1637.             2. Load auxiliary character set.
  1638.             3. Return to Character Editor.
  1639.  
  1640.           If you choose one of the first two options you are
  1641.           shown a list of all character sets in the current
  1642.           directory, and you are given a chance to select a set
  1643.           or to change the directory from which you will select a
  1644.           set.  For example, if you enter '\MYDIR\', the path
  1645.           will be changed to the indicated directory and all
  1646.           character sets (files ending in '.SET') in this new
  1647.           directory will be listed.  Similarly, if the font you
  1648.           want is in the main directory of drive B you would
  1649.           simply enter 'B:'.  You can browse through all your
  1650.           directories in this fashion, and when you find the one
  1651.           containing the set you want just type the set's name.
  1652.           The set will be loaded into memory as the main or
  1653.           auxiliary set depending on your previous menu
  1654.           selection.  The main difference between these two
  1655.           categories is that the main set can be altered but the
  1656.           auxiliary set cannot.  The only reason to use an
  1657.           Editing character sets                               33
  1658.  
  1659.           auxiliary set at all is to transfer characters to the
  1660.           main set.
  1661.  
  1662.               Let's assume that you have loaded a main and/or
  1663.           auxiliary character set if necessary and that you are
  1664.           ready to edit a character.  Press 'G' to obtain the
  1665.           G(et) submenu:
  1666.  
  1667.             1. Get character from current set.
  1668.             2. Get character from auxiliary set.
  1669.             3. Edit new character.
  1670.             4. Return to Character Editor.
  1671.  
  1672.           If you choose one of options 1 - 3, you will be
  1673.           prompted to enter the ASCII code of the character or
  1674.           the character (preceded by a single quote) itself.  For
  1675.           example, you can specify the letter 'A' by entering the
  1676.           code 65 or by entering 'A.  If you selected option 1 or
  1677.           2, you will see the existing character from the
  1678.           appropriate set ready for editing; if you choose option
  1679.           3 you will see a clear edit window.  (See Figure 1 for a
  1680.           typical display.)  A character is edited as a 24 X 10
  1681.           matrix of dots, each of which is turned on or off.  You
  1682.           can use the arrow keys along with the Home, End, Pg Up
  1683.           and Pg Dn keys to position the cursor.  Pressing the
  1684.           space bar toggles the state of the dot under the
  1685.           cursor.  At any time you can also select any of the
  1686.           menu options listed on the right of the screen.
  1687.  
  1688.           34                               Editing character sets
  1689.  
  1690.             0   1   2   3   4   5   6   7   8   9      Edit character set:
  1691.           A░░░░████████████████████████            A    HELV
  1692.           B    ████                    ████        B
  1693.           C    ████                        ████    C   Auxiliary set:
  1694.           D    ████                        ████    D
  1695.           E    ████                        ████    E
  1696.           F    ████                        ████    F   Edit character B
  1697.           G    ████                        ████    G        code =  66
  1698.           H    ████                    ████        H
  1699.           I    ████████████████████████            I
  1700.           J    ████                    ████        J   Options:
  1701.           K    ████                        ████    K
  1702.           L    ████                        ████    L   B)ackup character
  1703.           M    ████                        ████    M   C)lear character
  1704.           N    ████                        ████    N   G)et character
  1705.           O    ████                        ████    O   L)oad character set
  1706.           P    ████                        ████    P   M)iddle (center char)
  1707.           Q    ████                        ████    Q   P)ut character
  1708.           R    ████                    ████        R   Q)uit
  1709.           S    ████████████████████████            S   R)estore character
  1710.           T                                        T   S)ave character set
  1711.           U                                        U   W)rite character
  1712.           V                                        V
  1713.           W                                        W
  1714.           X                                        X
  1715.                                   Figure 1
  1716.  
  1717.               When the character has been edited to your
  1718.           satisfaction, you can put it into the main character
  1719.           set with the P(ut) option.  You will be given a chance
  1720.           to change the code under which the character will be
  1721.           stored, but more than likely you will use the default:
  1722.           the code you used with the G(et) command.
  1723.  
  1724.               There are three levels of storage used in EDCHAR.
  1725.           The ultimate (and only safe) storage site is your
  1726.           disk, and only complete sets, not individual
  1727.           characters, are saved as files on disk.  There are also
  1728.           the main and/or auxiliary character sets in your
  1729.           computer's volatile memory; since the power may flicker
  1730.           at any time, you should backup a set you are editing on
  1731.           a regular basis.  Finally, there is the individual
  1732.           character being edited: modifying this character
  1733.           affects neither the set in memory nor the set on disk.
  1734.           Only when you P(ut) the character to a set is the set
  1735.           in memory changed, and only when you S(ave) the set in
  1736.           memory is the set on disk changed.
  1737.  
  1738.               When editing a character, you have at your disposal
  1739.           the following options:
  1740.  
  1741.           Editing character sets                               35
  1742.  
  1743.             B)ackup character - pressing 'B'makes a copy in
  1744.               memory of the character definition currently
  1745.               displayed.
  1746.  
  1747.             C)lear character - pressing 'C' blanks the character
  1748.               matrix, but doesn't affect the corresponding
  1749.               character in the set being edited.  (Remember, only
  1750.               the P(ut) command changes that.)
  1751.  
  1752.             G)et character - the first step in editing a
  1753.               character.  You are shown the following menu:
  1754.               1. Get character from current set.
  1755.               2. Get character from auxiliary set.
  1756.               3. Edit new character.
  1757.               4. Return to Character Editor.
  1758.               In order to get a character from a set (options 1
  1759.               and 2) you must first L)oad the set.
  1760.  
  1761.             M)iddle - lets you center a single character or an
  1762.               entire set.  You are shown the following menu:
  1763.               1. Center character.
  1764.               2. Center entire set.
  1765.               3. Return to Character Editor.
  1766.               Selecting the first option centers the character
  1767.               definition on the screen, while choosing the second
  1768.               centers all of the character definitions in the main
  1769.               character set.  If characters are not centered then
  1770.               spacing within words can appear irregular; it is
  1771.               always a good idea to center the entire set when you
  1772.               are finished editing it.
  1773.  
  1774.             P)ut character - replaces corresponding character in
  1775.               the main set with that shown on the screen.  If you
  1776.               don't press 'P' your editing will not change the
  1777.               character set.  You are asked whether the character
  1778.               on the screen should be saved under the code under
  1779.               which it was loaded or under a different code.  For
  1780.               example, you could load a 'P', modify it a little,
  1781.               then save it as the character 'R'.
  1782.  
  1783.             Q)uit prompts you to make certain you're serious,
  1784.               then returns to DOS.
  1785.  
  1786.             R)estore character is the reverse of backup - the
  1787.               last character definition backed up with the 'B'
  1788.               option replaces that being displayed.
  1789.  
  1790.             Backup and restore let you experiment with a
  1791.             character definition without altering a set on disk.
  1792.  
  1793.           36                               Editing character sets
  1794.  
  1795.             S)ave character set - pressing 'S' lets you save the
  1796.               set being edited under the name used for loading
  1797.               the set, or under any other name.  You are prompted
  1798.               to enter the name of the set or the path for
  1799.               saving.  You can overwrite the previous version
  1800.               simply by pressing return, or you can create a
  1801.               separate second version by changing the path or
  1802.               name.  You will want to use the S(ave) option often
  1803.               since it provides cheap insurance against power
  1804.               fluctuation and other perils to your data.
  1805.  
  1806.             W)rite character lets you see how your character
  1807.               looks on paper if you have an Epson-compatible
  1808.               printer attached.  You will be prompted to turn on
  1809.               your printer, then the character being displayed
  1810.               will be printed in LQ mode.  (LQ should not be
  1811.               installed in memory if you use this option.)  Note
  1812.               that while LQ works with printers which are not
  1813.               Epson-compatible (through the use of PAR
  1814.               configuration files), EDCHAR does not.  This simply
  1815.               means that if you want to see your new characters
  1816.               on paper, you may have to wait until you exit
  1817.               EDCHAR and run LQ.
  1818.  
  1819.           Tips on editing character sets.
  1820.  
  1821.               Make certain that you use the same 'base lines' for
  1822.           all the characters in a given set, so that the
  1823.           characters will line up properly when printed.  The
  1824.           following should be aligned:
  1825.             the base of characters without descenders,
  1826.             the top of lower case letters such as 'a' and 'c',
  1827.             the top of upper case letters.
  1828.  
  1829.               If you want to create a new font, you may want to
  1830.           work from an existing font.  For example, you might
  1831.           reuse the punctuation symbols but change the letters
  1832.           and numbers.  To do this, copy (at the DOS prompt) the
  1833.           set to be edited to a new name:
  1834.            A> COPY OLD.SET NEW.SET.
  1835.           Now you can run EDCHAR and edit the new set without
  1836.           risking your old set.  The same thing can be
  1837.           accomplished from within EDCHAR by loading a set,
  1838.           editing it, then saving it to a different name, but you
  1839.           must be sure to enter the new name or your old set will
  1840.           be lost.
  1841.  
  1842.  
  1843.           The graphics mode                                    37
  1844.  
  1845.           11. The graphics mode.
  1846.  
  1847.               It's not easy (in the current version of the
  1848.           package), but you can use LQ to produce pictures.  This
  1849.           is worth doing if you want to create a letterhead to be
  1850.           used frequently, but it involves too much effort for
  1851.           casual applications.
  1852.  
  1853.               The basic idea is that all LQ characters are
  1854.           arbitrary graphics shapes anyway, so a block of them
  1855.           can be combined to make a larger image.  The only
  1856.           problem is the space that is normally inserted between
  1857.           characters and between lines.  By preceding a sequence
  1858.           of characters with the control code '<Esc> <Esc> C', no
  1859.           space will be inserted; '<Esc> <Esc> D' returns LQ to
  1860.           the usual mode.  If the graphics mode is active at the
  1861.           end of a line then the next line will start exactly
  1862.           where the last line left off regardless of the current
  1863.           line space setting.
  1864.  
  1865.               Each LQ character is a 24 x 10 array of dot
  1866.           positions.  One way to create a picture is to draw or
  1867.           transcribe an image on (say) a 192 x 120 square section
  1868.           of a sheet of graph paper, then mark this into 8 rows
  1869.           of 12 character definition (each 24 x 10 squares).
  1870.           These 96 'characters' can then be entered as ASCII
  1871.           codes 32 - 127 in a new set using EDCHAR.
  1872.  
  1873.  
  1874.  
  1875.  
  1876.  
  1877.  
  1878.  
  1879.  
  1880.  
  1881.  
  1882.                                   Figure 2
  1883.  
  1884.               As an example consider the set SPIRAL.SET on the LQ
  1885.           disk.  The file SPIRAL.PIC is a simple list of
  1886.           characters which can be printed with LQ to produce a
  1887.           picture of a spiral (Figure 2).  To try this with your
  1888.           printer, type LQ C1'SPIRAL' F'SPIRAL.PIC'.  The file
  1889.           being printed consists of 8 lines described below:
  1890.  
  1891.           The first line is the control code '<Esc> <Esc> C'
  1892.           followed by the sequence ' !"#$%&'()*+'.  The control
  1893.           code turns on graphics and the remaining characters
  1894.           correspond to ASCII codes 32 - 43.  If all control
  1895.           38                                    The graphics mode
  1896.  
  1897.           sequences were removed from the file, a listing would
  1898.           appear thus:
  1899.  
  1900.                 !"#$%&'()*+
  1901.                ,-./01234567
  1902.                89:;<=>?@ABC
  1903.                DEFGHIJKLMNO       graphics mode,
  1904.                PQRSTUVWXYZ[
  1905.                \]^_`abcdefg
  1906.                hijklmnopqrs
  1907.                tuvwxyz{|}
  1908.  
  1909.           The actual file includes three additional control
  1910.           sequences besides that mentioned above.  The words
  1911.           'graphics mode,' are preceded by the sequence
  1912.               <Esc> <Esc> D <Esc> <Esc> 4
  1913.           to turn off graphics and switch to the fourth character
  1914.           set, and followed by the sequence
  1915.               <Esc> <Esc> C <Esc> <Esc> 1
  1916.           to switch back to graphics and the first (SPIRAL) set.
  1917.           Finally, the last line is terminated by
  1918.               <Esc> <Esc> D <Esc> <Esc> 4
  1919.           to return to printing text.
  1920.  
  1921.               Note that the worst part of the listing concerns
  1922.           switching back and forth between graphics and text.  If
  1923.           you want the picture without any text then only the
  1924.           initial '<Esc> <Esc> C' is needed.
  1925.           About Shareware                                      39
  1926.  
  1927.           Appendix A. About 'Shareware'.
  1928.  
  1929.               'Shareware' is a relatively new means of software
  1930.           distribution with several advantages to you the
  1931.           consumer.  The complete package including this
  1932.           instruction manual is contained on a single diskette
  1933.           which may be freely copied and distributed.  Word of
  1934.           mouth provides a more accurate and less expensive way
  1935.           of making a product known than magazine advertisements,
  1936.           and the savings keep LQ's cost down.
  1937.  
  1938.               Shareware does not mean 'public domain'.
  1939.           Distribution is permitted only if the package stays
  1940.           intact; all files should be passed on in unmodified
  1941.           form.
  1942.  
  1943.               You can obtain the current LQ disk from Granny's
  1944.           Old-Fashioned Software for $10 or a registered package
  1945.           for $35.  Registration provides the following benefits:
  1946.  
  1947.             1. A current version of LQ including all available
  1948.                character sets,
  1949.             2. a mail-in card for a future version of LQ,
  1950.             3. a $10 commission each time someone registers from
  1951.                one of your copies,
  1952.             4. telephone support for your technical questions.
  1953.  
  1954.           To register, phone (with MC or VISA) (704) 264-6906 or
  1955.           mail payment to:
  1956.  
  1957.                     Granny's Old-Fashioned Software
  1958.                     Rt 4, Box 216
  1959.                     Boone, NC 28607
  1960.  
  1961.           North Carolina residents please add 4.5%.
  1962.  
  1963.           Please include the registration number from the upper
  1964.           right of LQ's initial display so that we can reimburse
  1965.           the person from whom your copy originated.
  1966.           40                                          ASCII codes
  1967.  
  1968.           Appendix B. ASCII codes.
  1969.  
  1970.  
  1971.  
  1972.                 0                               32        SP
  1973.                 1        ^A                     33         !
  1974.                 2        ^B                     34         "
  1975.                 3        ^C                     35         #
  1976.                 4        ^D                     36         $
  1977.                 5        ^E                     37         %
  1978.                 6        ^F                     38         &
  1979.                 7        ^G                     39         '
  1980.                 8        ^H                     40         (
  1981.                 9        ^I                     41         )
  1982.                10        ^J                     42         *
  1983.                11        ^K                     43         +
  1984.                12        ^L                     44         ,
  1985.                13        ^M                     45         -
  1986.                14        ^N                     46         .
  1987.                15        ^O                     47         /
  1988.                16        ^P                     48         0
  1989.                17        ^Q                     49         1
  1990.                18        ^R                     50         2
  1991.                19        ^S                     51         3
  1992.                20        ^T                     52         4
  1993.                21        ^U                     53         5
  1994.                22        ^V                     54         6
  1995.                23        ^W                     55         7
  1996.                24        ^X                     56         8
  1997.                25        ^Y                     57         9
  1998.                26        ^Z                     58         :
  1999.                27       Esc                     59         ;
  2000.                28                               60         <
  2001.                29                               61         =
  2002.                30                               62         >
  2003.                31                               63         ?
  2004.           ASCII codes                                          41
  2005.  
  2006.  
  2007.  
  2008.  
  2009.  
  2010.  
  2011.                64         @                     96         `
  2012.                65         A                     97         a
  2013.                66         B                     98         b
  2014.                67         C                     99         c
  2015.                68         D                    100         d
  2016.                69         E                    101         e
  2017.                70         F                    102         f
  2018.                71         G                    103         g
  2019.                72         H                    104         h
  2020.                73         I                    105         i
  2021.                74         J                    106         j
  2022.                75         K                    107         k
  2023.                76         L                    108         l
  2024.                77         M                    109         m
  2025.                78         N                    110         n
  2026.                79         O                    111         o
  2027.                80         P                    112         p
  2028.                81         Q                    113         q
  2029.                82         R                    114         r
  2030.                83         S                    115         s
  2031.                84         T                    116         t
  2032.                85         U                    117         u
  2033.                86         V                    118         v
  2034.                87         W                    119         w
  2035.                88         X                    120         x
  2036.                89         Y                    121         y
  2037.                90         Z                    122         z
  2038.                91         [                    123         {
  2039.                92         \                    124         |
  2040.                93         ]                    125         }
  2041.                94         ^                    126         ~
  2042.                95         _                    127       Del
  2043.  
  2044.  
  2045.  
  2046.  
  2047.